package com.example.demo.service;

import com.example.demo.entity.Permission;
import com.example.demo.mapper.PermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;

    private int save(Permission permission) { return permissionMapper.insert(permission);}
}
